<?php

$lesStats = array();
$lesStats[] = array('idVisiteur' => 'a17', 'mois' => '201301', 'idfraisforfait' => 'ETP', 'montant' => '0.00');
$lesStats[] = array('idVisiteur' => 'a17', 'mois' => '201301', 'idfraisforfait' => 'KM', 'montant' => '0.00');
$lesStats[] = array('idVisiteur' => 'a17', 'mois' => '201301', 'idfraisforfait' => 'NUI', 'montant' => '0.00');
$lesStats[] = array('idVisiteur' => 'a17', 'mois' => '201301', 'idfraisforfait' => 'REP', 'montant' => '250.00');

$lesStats[] = array('idVisiteur' => 'a55', 'mois' => '201301', 'idfraisforfait' => 'ETP', 'montant' => '550.00');
$lesStats[] = array('idVisiteur' => 'a55', 'mois' => '201301', 'idfraisforfait' => 'KM', 'montant' => '310.00');
$lesStats[] = array('idVisiteur' => 'a55', 'mois' => '201301', 'idfraisforfait' => 'NUI', 'montant' => '400.00');
$lesStats[] = array('idVisiteur' => 'a55', 'mois' => '201301', 'idfraisforfait' => 'REP', 'montant' => '250.00');

$lesStats[] = array('idVisiteur' => 'a55', 'mois' => '201302', 'idfraisforfait' => 'ETP', 'montant' => '0.00');
$lesStats[] = array('idVisiteur' => 'a55', 'mois' => '201302', 'idfraisforfait' => 'KM', 'montant' => '310.00');
$lesStats[] = array('idVisiteur' => 'a55', 'mois' => '201302', 'idfraisforfait' => 'NUI', 'montant' => '800.00');
$lesStats[] = array('idVisiteur' => 'a55', 'mois' => '201302', 'idfraisforfait' => 'REP', 'montant' => '500.00');

array_merge($lesStats[1], $lesStats[2]);
var_dump(array_merge($lesStats[1], $lesStats[2]));
//var_dump($lesStats);

foreach ($lesStats as $unStat) {
    //var_dump($unStat);
    //echo $unStat['idVisiteur'] . " " . $unStat['mois'] . " " . $unStat['montant'] . "\n";
}
?>
